package indi.jp.project.core.config;

import indi.jp.project.core.entity.Attachment;
import indi.jp.project.core.entity.SnowFlake;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "configs")
public class PropertyConfig {

    private Attachment attachment;

    private SnowFlake snowFlake;

    public Attachment getAttachment() {
        return attachment;
    }

    public void setAttachment(Attachment attachment) {
        this.attachment = attachment;
    }

    public SnowFlake getSnowFlake() {
        return snowFlake;
    }

    public void setSnowFlake(SnowFlake snowFlake) {
        this.snowFlake = snowFlake;
    }
}
